﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace BLL.Model.Base
{
    public class Login
    {
        [DisplayName("用户名")]
        [Required(ErrorMessage = "请填写用户名！")]
        public string UserName { get; set; }

        [DisplayName("密码")]
        [Required(ErrorMessage = "请填写密码！")]
        [PasswordPropertyText(true)]
        public string Password { get; set; }

        [DisplayName("验证码")]
        [Required(ErrorMessage = "请填写验证码！")]
        public string ValidateCode { get; set; }

    }
}
